package com.zork.cmdb.webapi.domain.mapper;

import com.zork.cmdb.webapi.domain.dbo.RelationshipTypeDO;
import com.zork.cmdb.webapi.domain.dto.RelationshipTypeDTO;
import com.zork.cmdb.webapi.domain.vo.RelationshipTypeVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author chenjh
 * @date 2018/7/3
 * @description
 */
@Mapper
public interface RelationshipTypeMapper {
    RelationshipTypeMapper MAPPER = Mappers.getMapper(RelationshipTypeMapper.class);

    RelationshipTypeDTO getDTO(RelationshipTypeDO relationshipTypeDO);
    List<RelationshipTypeDTO> getDTOList(List<RelationshipTypeDO> relationshipTypeDOList);
    RelationshipTypeVO getVO(RelationshipTypeDTO relationshipTypeDTO);
    List<RelationshipTypeVO> getVOList(List<RelationshipTypeDTO> relationshipTypeDTOList);
}
